#!/usr/bin/env node

const cp = require('child_process');

//console.log(process.env);

let cmd = process.argv[2];

cp.exec(cmd,(err,stdout)=>{
  if(err){
    console.error(err.toString('utf8'));
  }
  else{
    console.log(stdout.toString('utf8'));
  }
});



//console.log('hello world');
